package temp.lho.lws.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import temp.lho.lws.mapper.CaseReportInfoMapper;
import temp.lho.lws.mapper.IBaseMapper;
import temp.lho.lws.mapper.ICaseReportInfoMapper;
import temp.lho.lws.pojo.CaseReportInfo;
import temp.lho.lws.service.ICaseReportInfoService;
import temp.lho.lws.vo.Accident;

import java.util.List;

/**
 * (CaseReportInfo)表服务实现类
 *
 * @author makejava
 * @since 2020-07-06 23:15:37
 */
@Service("caseReportInfoService")
public class CaseReportInfoServiceImpl extends BaseServiceImpl implements ICaseReportInfoService {
  /*  @Override
    public CaseReportInfo queryById(Integer casereportid) {
        return null;
    }*/

    @Autowired
    private ICaseReportInfoMapper caseReportInfoMapper;

    @Override
    public CaseReportInfo queryById(Integer casereportid) {
        return null;
    }

    @Override
    public List<CaseReportInfo> queryAllByLimit(int offset, int limit) {
        return null;
    }

    @Override
    public CaseReportInfo insert(CaseReportInfo caseReportInfo) {
        return null;
    }

    @Override
    public CaseReportInfo update(CaseReportInfo caseReportInfo) {
        return null;
    }

    @Override
    public boolean deleteById(Integer casereportid) {
        return false;
    }

    @Override
    public int insert(Accident accident) {
        return caseReportInfoMapper.insert(accident);
    }

    @Override
    public int CRupate(Accident accident) {
        return caseReportInfoMapper.CRupdate(accident);
    }

    @Override
    protected IBaseMapper baseMapper() {
        return caseReportInfoMapper;
    }
}